package com.freeter.modules.pc.entity.view;

import com.baomidou.mybatisplus.annotations.TableName;
import com.freeter.modules.pc.entity.StudentEntity;
import io.swagger.annotations.ApiModel;
import org.springframework.beans.BeanUtils;

import java.io.Serializable;


/**
 * 后端返回视图实体辅助类
 * （通常后端关联的表或者自定义的字段需要返回使用）
 *
 * @date 2018-06-20 15:47:02
 */
@TableName("t_student")
@ApiModel(value = "Student")
public class StudentView extends StudentEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    public StudentView() {
    }

    public StudentView(StudentEntity studentEntity) {
        BeanUtils.copyProperties(this, studentEntity);

    }
}
